package com.bwie.system.mapper;

import com.bwie.common.domain.SysFeature;
import com.bwie.common.domain.SysOpeningHours;
import com.bwie.common.domain.SysShop;
import com.bwie.common.domain.request.SysShopRequest;
import com.bwie.common.domain.vo.SysShopVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysShopMapper {


    List<SysShop> shopList(SysShopRequest sysShopRequest);


    List<SysFeature> featureList(@Param("shopId") Integer shopId);

    List<SysOpeningHours> openingHours(Integer shopId);

    void addShop(SysShopVo sysShopVo);

    SysShop findShopByName(String name);

    void addFeature(String featureName, Integer id);

    void addOpening(String openingHoursName, Integer id);

}
